package cn.iocoder.yudao.module.exam.controller.admin.aimarkingtask.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - AI批阅任务新增/修改 Request VO")
@Data
public class AiMarkingTaskSaveReqVO {

    @Schema(description = "任务ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14469")
    private Long id;

    @Schema(description = "任务编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "任务编号不能为空")
    private String taskCode;

    @Schema(description = "试卷ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27282")
    @NotNull(message = "试卷ID不能为空")
    private Long paperId;

    @Schema(description = "任务类型", example = "2")
    private String taskType;

    @Schema(description = "任务状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "任务状态不能为空")
    private Integer taskStatus;

    @Schema(description = "请求数据")
    private String requestData;

    @Schema(description = "响应数据")
    private String responseData;

    @Schema(description = "错误信息")
    private String errorMessage;

    @Schema(description = "开始时间")
    private LocalDateTime startedTime;

    @Schema(description = "完成时间")
    private LocalDateTime completedTime;

}